<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U('User/awardLog_list')}" method="post">
        <input type="hidden" value="{:I('us_id')}" name="us_id">
        <div class="bjui-searchBar">
            <label>奖励类型:</label>
            <select name="type" data-toggle="selectpicker">
                <option value="">全部</option>
                <volist name="awTypes" id="at" key="k">
                    <option value="{$k-1}">{$at}</option>
                </volist>
            </select>
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="true">
        <thead>
            <tr>
                <th>编号</th>
                <th>奖励金额</th>
                <th>来源用户</th>
                <th>奖励时间</th>
                <th>奖励类型</th>
            </tr>
        </thead>
        <tbody>
            <volist name="dataList" id="dl">
                <tr data-id="1">
                    <td>{$dl['aw_id']}</td>
                    <td>{$dl['aw_value']}</td>
                    <td>{$dl['aw_source_phone']}</td>
                    <td>{$dl['aw_create_time']|date="Y-m-d H:i:s",###}</td>
                    <td>{:getAwType($dl['aw_type'])}</td>
                </tr>
            </volist>
        </tbody>
    </table>
</div>
<div class="bjui-pageFooter">
    <div class="pages">
        <span>每页&nbsp;</span>
        <div class="selectPagesize">
            <select data-toggle="selectpicker" data-toggle-change="changepagesize">
                <option value="30">30</option>
                <option value="60">60</option>
                <option value="120">120</option>
                <option value="150">150</option>
            </select>
        </div>
        <span>&nbsp;条，共{$count}条</span>
    </div>
    <div class="pagination-box" data-toggle="pagination" data-total="{$count}" data-page-size="30" data-page-current="1">
    </div>
</div>